//
//  NetWorkTestViewController.h
//  CPICApp
//
//  Created by sinosoft on 13-3-22.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MAMapKit.h"
#import "MASearch.h"
#import "CustomActionSheet.h"
#import "ASIHTTPRequest.h"
#import "MBProgressHUD.h"
#import "Reachability.h"
#import "RCCarListInfo.h"
@interface NetWorkTestViewController : UIViewController<MAMapViewDelegate,UITableViewDataSource,UITableViewDelegate,UICustomActionSheetDelegate,RCCarListInfoDelegate,MBProgressHUDDelegate>
{
    //map
    MAMapView *mamapView;
    NSMutableArray *poiArray;
    NSMutableArray *annotions;
    BOOL isLocation;
    CLLocationCoordinate2D location1;
    //map
    
    UITableView *TableViewMap;
    NSMutableArray *arrServiceTypeAnotion;
    
    UIView *AnotionView;
    UIButton *btnContent;
    UIView *AnotionViewDetail;
    UITextView *txwContentDetail;
    
    BOOL showProgress;
    MBProgressHUD* progress;
    NSMutableArray *arrData;
    NSString *strServiceType;
    Reachability  *hostReach;
    
    NSMutableArray *arrProduct;
    NSMutableArray *arrProductCode;
    NSString *strManufacturerCode;
    NSMutableArray *arrCarBrand;
    NSMutableArray *arrCarBrandCode;
    NSString *strCarBrandddd;//这个是用户从界面选择的车辆品牌
    
    NSMutableArray *arrServiceName;
    NSMutableArray *arrServiceTypeCode;
    NSString *Flag;
    NSString *strURLLLLLL;
    NSString *strPhoneeeee;
    
    BOOL ISNETVALID;//网络状态
    NSInteger NetWorkTag;
    NSString *strBrandInvalid;//是否跟品牌相关联
    NSString *strCarViewBrand;//用户车辆设置页面中的车辆品牌
    BOOL TableCar;
    NSString *strid;
    
    NSString *strManufacturerName;
    NSString *strBrandName;
    
    ASIFormDataRequest *requestServerType;
}
@property (nonatomic, assign) NetworkStatus currentState;
@property(nonatomic,retain)NSMutableArray *poiArray;
@property (strong, nonatomic) MBProgressHUD* progress;
@property(nonatomic,retain) UILabel *lblServiceType;
@property(nonatomic,retain) UILabel *lblProduct;
@property(nonatomic,retain) UILabel *lblCarBrand;

-(void)addAnnotion;

@end
